package com.shenbaoiot.openapi.controller;

import com.shenbaoiot.common.core.controller.BaseController;
import com.shenbaoiot.common.core.domain.R;
import org.springframework.web.bind.annotation.*;


/**
 * swagger 外放接口方法
 *
 * @author ruoyi
 */
@RestController
@RequestMapping("/openapi/oauth2")
public class OpenTestController extends BaseController
{

    @GetMapping("/test")
    public R test()
    {
        return R.ok("测试通过！"); }

}
